﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MethodWorx.CMS.UI.Application.ActionResults
{
    public class CloseDialogResult : AppJavaScriptResult
    {
        public CloseDialogResult() : base("window.parent.closeDialog();")
        {
        }

        public CloseDialogResult(string action) : base("window.parent.closeDialog('" + action + "');")
        {
        }

    }
}